import { View, Text, Button } from 'react-native'
import React from 'react'
import { Link, router } from 'expo-router'
import gss from '../styles/globals'

export default function ZhIndex() {
    return (
        <View>
            <Text style={gss.h1}>ZhIndex</Text>

            <Link href='/user/login' style={gss.h2}>去登录/user/login</Link>
            <Link href='/user/register' style={gss.h2}>去注册/user/register</Link>

            <Link href='/(user)/login' style={gss.h2}>去登录/(user)/login</Link>
            <Link href='/(user)/register' style={gss.h2}>去注册/(user)/register</Link>

            <Link href='/login' style={gss.h2}>去登录/login</Link>
            <Link href='/register' style={gss.h2}>去注册/register</Link>

            <Link href='/news/details?nid=1&loc=bj' style={gss.h2}>查看1号新闻详情</Link>
            <Link href='/news/details?nid=5&loc=sh' style={gss.h2}>查看5号新闻详情</Link>
            <Link href='/news/details?nid=9&city=hz&date=now' style={gss.h2}>查看9号新闻详情</Link>
            
            
            <Link href='/news/10' style={gss.h2}>查看10号新闻详情</Link>
            <Link href='/news/tom' style={gss.h2}>查看tom号新闻详情</Link>
        </View>
    )
}